﻿using System;
class PointCheck
{
    static void Main()
    {
        int coordx;
        int coordy;
        Console.Write("Input coordinate X: ");
        while (true)
        {
            try
            {
                coordx = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception ex)
            {
                Console.Write(ex.Message + "\nPlease re-enter coordinate:");
            }
        }
        Console.Write("Input coordinate Y: ");
        while (true)
        {
            try
            {
                coordy = int.Parse(Console.ReadLine());
                break;
            }
            catch (Exception ex)
            {
                Console.Write(ex.Message + "\nPlease re-enter coordinate:");
            }
        }
            if (((coordx * coordx) + (coordy * coordy)) > 25)
            {
                Console.WriteLine("the point with cooridinates x={0} and y={1}, is outside the K(0, 5) circle", coordx, coordy);
                Console.ReadLine();
            }
            else
            {
                Console.WriteLine("the point with cooridinates x={0} and y={1}, is INSIDE the K(0, 5) circle", coordx, coordy);
                Console.ReadLine();
            }
    }
}

